package com.dongwu.manager.service;

import com.dongwu.common.service.IBaseService;
import com.dongwu.manager.entity.AppTemplate;
import com.dongwu.security.entity.User;

import java.util.List;

public interface AppTemplateService  extends IBaseService<AppTemplate, String> {

    List<AppTemplate> findByStatusAndShowType(Integer showType);

//    List<AppTemplate> findByStatusAndShowTypeAndUserId(Integer showType,User user);

    AppTemplate findByTemplateTypeList(String templateTypeId);

    AppTemplate findByShowTypeAndIsDefault(Integer showType,Boolean isDefault);

}
